home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / mcdgstst.hqx / MacArchives / background_2704.xml next >
Encoding:
Extensible Markup Language  |  1992-09-22  |  16.1 KB  |  484 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2704</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3831.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3170.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>14</left>
  23.             <top>26</top>
  24.             <right>502</right>
  25.             <bottom>53</bottom>
  26.         </rect>
  27.         <style>shadow</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>London</font>
  37.         <textSize>18</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>24</textHeight>
  40.         <name>Directory</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <true /> </lockText>
  53.         <rect>
  54.             <left>16</left>
  55.             <top>56</top>
  56.             <right>502</right>
  57.             <bottom>311</bottom>
  58.         </rect>
  59.         <style>scrolling</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font>Courier</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>16</textHeight>
  72.         <name>text</name>
  73.         <script>on mouseUpglobal theString,lastFound,firstclick,theFilesget the mouselocset the locktext of me to falseclick at itclick at itset the locktext of me to trueput the selection into theStringif the short name of this cd is "Index" thengo cd theStringelseselect the selectedlineget item one of the selectionif it contains ";" then delete char offset(";",it) to┬¼(the number of chars in it) of itput "$MAC GET " & lowerToUpper(it) & return after theFilesput " ΓÇó " after the selectionput last line of theFileswait 1 secondhide the msgend ifend mouseup</script>
  74.     </part>
  75.     <part>
  76.         <id>3</id>
  77.         <type>button</type>
  78.         <visible> <true /> </visible>
  79.         <reserved5> 0 </reserved5>
  80.         <reserved4> 0 </reserved4>
  81.         <reserved3> 0 </reserved3>
  82.         <reserved2> 0 </reserved2>
  83.         <reserved1> 0 </reserved1>
  84.         <enabled> <true /> </enabled>
  85.         <rect>
  86.             <left>327</left>
  87.             <top>316</top>
  88.             <right>357</right>
  89.             <bottom>340</bottom>
  90.         </rect>
  91.         <style>transparent</style>
  92.         <showName> <false /> </showName>
  93.         <highlight> <false /> </highlight>
  94.         <autoHighlight> <true /> </autoHighlight>
  95.         <sharedHighlight> <true /> </sharedHighlight>
  96.         <family>0</family>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>1013</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Chicago</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <name>next</name>
  104.         <script>on mouseUplock screengo nextif the short name of this cd is "Help2" then go nextunlock screen with visual wipe leftend mouseUp</script>
  105.     </part>
  106.     <part>
  107.         <id>4</id>
  108.         <type>button</type>
  109.         <visible> <true /> </visible>
  110.         <reserved5> 0 </reserved5>
  111.         <reserved4> 0 </reserved4>
  112.         <reserved3> 0 </reserved3>
  113.         <reserved2> 0 </reserved2>
  114.         <reserved1> 0 </reserved1>
  115.         <enabled> <true /> </enabled>
  116.         <rect>
  117.             <left>129</left>
  118.             <top>316</top>
  119.             <right>159</right>
  120.             <bottom>340</bottom>
  121.         </rect>
  122.         <style>transparent</style>
  123.         <showName> <false /> </showName>
  124.         <highlight> <false /> </highlight>
  125.         <autoHighlight> <true /> </autoHighlight>
  126.         <sharedHighlight> <true /> </sharedHighlight>
  127.         <family>0</family>
  128.         <titleWidth>0</titleWidth>
  129.         <icon>1014</icon>
  130.         <textAlign>center</textAlign>
  131.         <font>Chicago</font>
  132.         <textSize>12</textSize>
  133.         <textStyle>plain</textStyle>
  134.         <name>prev</name>
  135.         <script>on mouseUplock screengo previf the short name of this cd is "Help2" then go prevunlock screen with visual wipe rightend mouseUp</script>
  136.     </part>
  137.     <part>
  138.         <id>5</id>
  139.         <type>button</type>
  140.         <visible> <true /> </visible>
  141.         <reserved5> 0 </reserved5>
  142.         <reserved4> 0 </reserved4>
  143.         <reserved3> 0 </reserved3>
  144.         <reserved2> 0 </reserved2>
  145.         <reserved1> 0 </reserved1>
  146.         <enabled> <true /> </enabled>
  147.         <rect>
  148.             <left>5</left>
  149.             <top>313</top>
  150.             <right>35</right>
  151.             <bottom>340</bottom>
  152.         </rect>
  153.         <style>transparent</style>
  154.         <showName> <false /> </showName>
  155.         <highlight> <false /> </highlight>
  156.         <autoHighlight> <true /> </autoHighlight>
  157.         <sharedHighlight> <true /> </sharedHighlight>
  158.         <family>0</family>
  159.         <titleWidth>0</titleWidth>
  160.         <icon>20098</icon>
  161.         <textAlign>center</textAlign>
  162.         <font>Chicago</font>
  163.         <textSize>12</textSize>
  164.         <textStyle>plain</textStyle>
  165.         <name>home</name>
  166.         <script>on mouseUpgo homeend mouseUp</script>
  167.     </part>
  168.     <part>
  169.         <id>6</id>
  170.         <type>button</type>
  171.         <visible> <true /> </visible>
  172.         <reserved5> 0 </reserved5>
  173.         <reserved4> 0 </reserved4>
  174.         <reserved3> 0 </reserved3>
  175.         <reserved2> 0 </reserved2>
  176.         <reserved1> 0 </reserved1>
  177.         <enabled> <true /> </enabled>
  178.         <rect>
  179.             <left>42</left>
  180.             <top>309</top>
  181.             <right>78</right>
  182.             <bottom>340</bottom>
  183.         </rect>
  184.         <style>transparent</style>
  185.         <showName> <false /> </showName>
  186.         <highlight> <false /> </highlight>
  187.         <autoHighlight> <false /> </autoHighlight>
  188.         <sharedHighlight> <true /> </sharedHighlight>
  189.         <family>0</family>
  190.         <titleWidth>0</titleWidth>
  191.         <icon>1007</icon>
  192.         <textAlign>center</textAlign>
  193.         <font>Chicago</font>
  194.         <textSize>12</textSize>
  195.         <textStyle>plain</textStyle>
  196.         <name>print</name>
  197.         <script>on mouseUpglobal action, delayAnswer "Print entire directory, or selection?" with "Cancel" or┬¼"Directory" or "Selection"if it is "Cancel" thenAnswer "Would you like some help on"&&┬¼quote&"printing"&quote&"?" with "No" or "Help"if it is "No" then exit mouseUpelsepush cardgo cd "Help2"find string "Subject: The "&quote&"Printer"&quote&" icon"end ifelse if it is "Directory" then textstream "fld text"elseput the ticks + 120 into delayset the locktext of field "text" to falseput "print" into actionend ifend mouseUp</script>
  198.     </part>
  199.     <part>
  200.         <id>7</id>
  201.         <type>button</type>
  202.         <visible> <true /> </visible>
  203.         <reserved5> 0 </reserved5>
  204.         <reserved4> 0 </reserved4>
  205.         <reserved3> 0 </reserved3>
  206.         <reserved2> 0 </reserved2>
  207.         <reserved1> 0 </reserved1>
  208.         <enabled> <true /> </enabled>
  209.         <rect>
  210.             <left>228</left>
  211.             <top>314</top>
  212.             <right>258</right>
  213.             <bottom>341</bottom>
  214.         </rect>
  215.         <style>transparent</style>
  216.         <showName> <false /> </showName>
  217.         <highlight> <false /> </highlight>
  218.         <autoHighlight> <true /> </autoHighlight>
  219.         <sharedHighlight> <true /> </sharedHighlight>
  220.         <family>0</family>
  221.         <titleWidth>0</titleWidth>
  222.         <icon>8538</icon>
  223.         <textAlign>center</textAlign>
  224.         <font>Chicago</font>
  225.         <textSize>12</textSize>
  226.         <textStyle>plain</textStyle>
  227.         <name>find</name>
  228.         <script>on mouseUpGlobal theString, lastFoundAsk "Find what?" with theStringif it is empty then exit mouseUpif it is not theString thenput it into theStringput "find theString in fld text"end ifhide the msgreturnkeyif the foundchunk is not lastfound thenput the foundchunk into lastfoundelse returnkeyend mouseUp</script>
  229.     </part>
  230.     <part>
  231.         <id>8</id>
  232.         <type>button</type>
  233.         <visible> <false /> </visible>
  234.         <reserved5> 0 </reserved5>
  235.         <reserved4> 0 </reserved4>
  236.         <reserved3> 0 </reserved3>
  237.         <reserved2> 0 </reserved2>
  238.         <reserved1> 0 </reserved1>
  239.         <enabled> <true /> </enabled>
  240.         <rect>
  241.             <left>471</left>
  242.             <top>313</top>
  243.             <right>509</right>
  244.             <bottom>341</bottom>
  245.         </rect>
  246.         <style>transparent</style>
  247.         <showName> <false /> </showName>
  248.         <highlight> <false /> </highlight>
  249.         <autoHighlight> <true /> </autoHighlight>
  250.         <sharedHighlight> <true /> </sharedHighlight>
  251.         <family>0</family>
  252.         <titleWidth>0</titleWidth>
  253.         <icon>29250</icon>
  254.         <textAlign>center</textAlign>
  255.         <font>Chicago</font>
  256.         <textSize>12</textSize>
  257.         <textStyle>plain</textStyle>
  258.         <name>import</name>
  259.         <script>on mouseUpgo lastdoMenu "New Card"fileToField ("field text")get the resultif it is "Cancel" thendoMenu "Delete Card"exit to HyperCardend ifput it into theFileremoveHeader   -- in bg scriptunlock screenAnswer "Delete source file now?" with "No" or "Yes"if it is "Yes" thenget DeleteAFile(thefile)if it is not zero then Answer "Error" && it && "occurred deleting file."end ifput "Files in Directory: " into fld "directory"put word 2 of ExtractFName(theFile) after fld "directory"end mouseUp</script>
  260.     </part>
  261.     <part>
  262.         <id>9</id>
  263.         <type>field</type>
  264.         <visible> <true /> </visible>
  265.         <dontWrap> <false /> </dontWrap>
  266.         <dontSearch> <false /> </dontSearch>
  267.         <sharedText> <false /> </sharedText>
  268.         <fixedLineHeight> <true /> </fixedLineHeight>
  269.         <autoTab> <false /> </autoTab>
  270.         <lockText> <true /> </lockText>
  271.         <rect>
  272.             <left>429</left>
  273.             <top>320</top>
  274.             <right>460</right>
  275.             <bottom>338</bottom>
  276.         </rect>
  277.         <style>transparent</style>
  278.         <autoSelect> <false /> </autoSelect>
  279.         <showLines> <false /> </showLines>
  280.         <wideMargins> <false /> </wideMargins>
  281.         <multipleLines> <false /> </multipleLines>
  282.         <reservedFamily> 0 </reservedFamily>
  283.         <titleWidth>0</titleWidth>
  284.         <icon>0</icon>
  285.         <textAlign>left</textAlign>
  286.         <font>Geneva</font>
  287.         <textSize>12</textSize>
  288.         <textStyle>plain</textStyle>
  289.         <textHeight>16</textHeight>
  290.         <name>cd num</name>
  291.         <script></script>
  292.     </part>
  293.     <part>
  294.         <id>10</id>
  295.         <type>field</type>
  296.         <visible> <false /> </visible>
  297.         <dontWrap> <false /> </dontWrap>
  298.         <dontSearch> <false /> </dontSearch>
  299.         <sharedText> <false /> </sharedText>
  300.         <fixedLineHeight> <true /> </fixedLineHeight>
  301.         <autoTab> <false /> </autoTab>
  302.         <lockText> <true /> </lockText>
  303.         <rect>
  304.             <left>381</left>
  305.             <top>321</top>
  306.             <right>411</right>
  307.             <bottom>339</bottom>
  308.         </rect>
  309.         <style>transparent</style>
  310.         <autoSelect> <false /> </autoSelect>
  311.         <showLines> <false /> </showLines>
  312.         <wideMargins> <false /> </wideMargins>
  313.         <multipleLines> <false /> </multipleLines>
  314.         <reservedFamily> 0 </reservedFamily>
  315.         <titleWidth>0</titleWidth>
  316.         <icon>0</icon>
  317.         <textAlign>left</textAlign>
  318.         <font>Geneva</font>
  319.         <textSize>12</textSize>
  320.         <textStyle>plain</textStyle>
  321.         <textHeight>16</textHeight>
  322.         <name>numTopics</name>
  323.         <script></script>
  324.     </part>
  325.     <part>
  326.         <id>14</id>
  327.         <type>button</type>
  328.         <visible> <true /> </visible>
  329.         <reserved5> 0 </reserved5>
  330.         <reserved4> 0 </reserved4>
  331.         <reserved3> 0 </reserved3>
  332.         <reserved2> 0 </reserved2>
  333.         <reserved1> 0 </reserved1>
  334.         <enabled> <true /> </enabled>
  335.         <rect>
  336.             <left>376</left>
  337.             <top>313</top>
  338.             <right>404</right>
  339.             <bottom>341</bottom>
  340.         </rect>
  341.         <style>transparent</style>
  342.         <showName> <false /> </showName>
  343.         <highlight> <false /> </highlight>
  344.         <autoHighlight> <false /> </autoHighlight>
  345.         <sharedHighlight> <true /> </sharedHighlight>
  346.         <family>0</family>
  347.         <titleWidth>0</titleWidth>
  348.         <icon>25002</icon>
  349.         <textAlign>center</textAlign>
  350.         <font>Chicago</font>
  351.         <textSize>12</textSize>
  352.         <textStyle>plain</textStyle>
  353.         <name>Help</name>
  354.         <script>on mouseUppush cardvisual iris opengo cd "Help2"end mouseUp</script>
  355.     </part>
  356.     <part>
  357.         <id>15</id>
  358.         <type>button</type>
  359.         <visible> <true /> </visible>
  360.         <reserved5> 0 </reserved5>
  361.         <reserved4> 0 </reserved4>
  362.         <reserved3> 0 </reserved3>
  363.         <reserved2> 0 </reserved2>
  364.         <reserved1> 0 </reserved1>
  365.         <enabled> <true /> </enabled>
  366.         <rect>
  367.             <left>82</left>
  368.             <top>309</top>
  369.             <right>120</right>
  370.             <bottom>342</bottom>
  371.         </rect>
  372.         <style>transparent</style>
  373.         <showName> <false /> </showName>
  374.         <highlight> <false /> </highlight>
  375.         <autoHighlight> <false /> </autoHighlight>
  376.         <sharedHighlight> <true /> </sharedHighlight>
  377.         <family>0</family>
  378.         <titleWidth>0</titleWidth>
  379.         <icon>1005</icon>
  380.         <textAlign>center</textAlign>
  381.         <font>Chicago</font>
  382.         <textSize>12</textSize>
  383.         <textStyle>plain</textStyle>
  384.         <name>extract</name>
  385.         <script>on mouseUpglobal action,delayAnswer "Save entire digest as TEXT file?" with "Save" or┬¼"Cancel" or "Selection"if it is "selection" thenput the ticks + 120 into delayset the locktext of fld "text" to falseput "file" into actionelse if it is "Save" thenFieldToFile("fld text")elseAnswer "Do you want help with "&quote&"Saving"&quote&"?" with ┬¼"No" or "Help"if it is "Help" thensend mouseUp to bg btn "Help"find string "Subject: The "&quote&"MacWrite"&quote&" Icon"end ifend ifend mouseUP</script>
  386.     </part>
  387.     <part>
  388.         <id>16</id>
  389.         <type>button</type>
  390.         <visible> <true /> </visible>
  391.         <reserved5> 0 </reserved5>
  392.         <reserved4> 0 </reserved4>
  393.         <reserved3> 0 </reserved3>
  394.         <reserved2> 0 </reserved2>
  395.         <reserved1> 0 </reserved1>
  396.         <enabled> <true /> </enabled>
  397.         <rect>
  398.             <left>173</left>
  399.             <top>315</top>
  400.             <right>210</right>
  401.             <bottom>340</bottom>
  402.         </rect>
  403.         <style>transparent</style>
  404.         <showName> <false /> </showName>
  405.         <highlight> <false /> </highlight>
  406.         <autoHighlight> <true /> </autoHighlight>
  407.         <sharedHighlight> <true /> </sharedHighlight>
  408.         <family>0</family>
  409.         <titleWidth>0</titleWidth>
  410.         <icon>1012</icon>
  411.         <textAlign>center</textAlign>
  412.         <font>Chicago</font>
  413.         <textSize>12</textSize>
  414.         <textStyle>plain</textStyle>
  415.         <name>return</name>
  416.         <script>on mouseUppop cardend mouseUp</script>
  417.     </part>
  418.     <part>
  419.         <id>17</id>
  420.         <type>button</type>
  421.         <visible> <true /> </visible>
  422.         <reserved5> 0 </reserved5>
  423.         <reserved4> 0 </reserved4>
  424.         <reserved3> 0 </reserved3>
  425.         <reserved2> 0 </reserved2>
  426.         <reserved1> 0 </reserved1>
  427.         <enabled> <true /> </enabled>
  428.         <rect>
  429.             <left>271</left>
  430.             <top>321</top>
  431.             <right>316</right>
  432.             <bottom>338</bottom>
  433.         </rect>
  434.         <style>transparent</style>
  435.         <showName> <true /> </showName>
  436.         <highlight> <false /> </highlight>
  437.         <autoHighlight> <true /> </autoHighlight>
  438.         <sharedHighlight> <true /> </sharedHighlight>
  439.         <family>0</family>
  440.         <titleWidth>0</titleWidth>
  441.         <icon>0</icon>
  442.         <textAlign>center</textAlign>
  443.         <font>Chicago</font>
  444.         <textSize>12</textSize>
  445.         <textStyle>plain</textStyle>
  446.         <name>Index</name>
  447.         <script>on mouseUpgo cd "Index"end mouseUp</script>
  448.     </part>
  449.     <part>
  450.         <id>18</id>
  451.         <type>field</type>
  452.         <visible> <false /> </visible>
  453.         <dontWrap> <false /> </dontWrap>
  454.         <dontSearch> <false /> </dontSearch>
  455.         <sharedText> <false /> </sharedText>
  456.         <fixedLineHeight> <true /> </fixedLineHeight>
  457.         <autoTab> <false /> </autoTab>
  458.         <lockText> <false /> </lockText>
  459.         <rect>
  460.             <left>9</left>
  461.             <top>99</top>
  462.             <right>505</right>
  463.             <bottom>275</bottom>
  464.         </rect>
  465.         <style>transparent</style>
  466.         <autoSelect> <false /> </autoSelect>
  467.         <showLines> <false /> </showLines>
  468.         <wideMargins> <false /> </wideMargins>
  469.         <multipleLines> <false /> </multipleLines>
  470.         <reservedFamily> 0 </reservedFamily>
  471.         <titleWidth>0</titleWidth>
  472.         <icon>0</icon>
  473.         <textAlign>left</textAlign>
  474.         <font>Geneva</font>
  475.         <textSize>12</textSize>
  476.         <textStyle>plain</textStyle>
  477.         <textHeight>16</textHeight>
  478.         <name>files</name>
  479.         <script></script>
  480.     </part>
  481.     <name></name>
  482.     <script>on namecardsrepeat with c = 2 to the number of cdsgo cd cset the name of this cd to last word of fld "Directory"end repeatend namecardson opencardput the number of this card into fld "cd num"pass opencardend opencardfunction removeSpaces aStringrepeatset the cursor to busyif char 1 of aString is not space then exit repeatdelete char 1 of aStringend repeatreturn aStringend RemoveSpacesfunction ReformatLine aStringput space into char(offset("/",aString)) of aStringreturn aStringend ReformatLineon distributerepeat until fld "text" is emptyset the cursor to busyselect line 1 of fld "text"get the selectiondelete the selectedlineget ReFormatLine(it)put word 1 of it into theDirdelete word 1 of itif it is not in fld "text" of cd theDir thenput it & return after fld "text" of cd theDirput SortLines(fld text) into fld "text"elsebeepend ifend repeatend distribute</script>
  483. </background>
  484.